package com.usoft.thrift.client.pool;

import org.apache.thrift.TServiceClient;

/**
 * Created by xinxingegeya on 16/3/1.
 */
public interface PoolOperationCallBack {

    // 销毁client之前执行
    void destroy(TServiceClient client);

    // 创建成功是执行
    void create(TServiceClient client);
}
